package conexao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConexaoBD {
	

	
	public static Connection conectar() throws ClassNotFoundException, SQLException{
		Class.forName("org.postgresql.Driver");
		String url="jdbc:postgresql://localhost:5432/BDmemcached";
		return DriverManager.getConnection(url, "postgres", "12345");
	
		}

}
